#include <stdio.h>

typedef struct
{
    char c1;
    short s;
    char c2;
    int i;
} T_FOO;

int main() // 主函数->程序的入口-main函数有且仅有一个。
{
    T_FOO a;
    printf("c1 -> %d, s -> %d, c2 -> %d, i -> %d\n",
           (unsigned int)(void *)&a.c1 - (unsigned int)(void *)&a,
           (unsigned int)(void *)&a.s - (unsigned int)(void *)&a,
           (unsigned int)(void *)&a.c2 - (unsigned int)(void *)&a,
           (unsigned int)(void *)&a.i - (unsigned int)(void *)&a);
    ///< 输出 c1 -> 0, s -> 2, c2 -> 4, i -> 8
    return 0; // 返回 0
}